package com.cwnu.service;

import com.cwnu.entity.User;

public interface UserService {
    User findByUserName(String username);

    void register(String username, String password, Integer age, String school);

    void update(User user);

    void updatePassWord(String newPassWord);

    void logOut();
}
